#Surive. Make it Happen. 

def hunt_choices(round_number, current_food, current_reputation, m,  player_reputations):
    numberofplayers = len(player_reputations) - 1
    prob_of_award = 0
    huntdecisions = []
    if round_number <= 10:
        hunt_decisions = ['h' for x in player_reputations]
    else:
        for rep in player_reputations:
            prob_of_award = prob_of_award + rep*(numberofplayers) 
        q = (m-prob_of_award)/prob_of_award
        if q >= 0:
            if m - prob_award >= numberofplayers:
                q = 0
        else:
            q = (1/q)*-1
        q = q*-1
        reward = 2*q*numberofplayers
        for rep in player_reputations:
            huntpayoff = rep*(reward) + (1-rep)*(-2 + reward)
            slackpayoff = 1 + rep*(reward) + (1-rep)*(-3 + reward)
            if huntpayoff > slackpayoff:
                hunt_decisions.append('h')
            else:
                hunt_decisions.append('s')
    return hunt_decisions
    
def hunt_outcomes(food_earnings):
    pass

def round_end(award, m, number_hunters):
    pass

    
